/* 
 *  This file is part of hmvcBlog-blog.
 *
 *  hmvcBlog-blog is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU Affero General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.
 *
 *  hmvcBlog-blog is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU Affero General Public License for more details.
 *
 *  You should have received a copy of the GNU Affero General Public License
 *  along with hmvcBlog-blog.  If not, see <http://www.gnu.org/licenses/>.
 *
 */
package com.googlecode.hmvc4gwt.example.hmvcblog.frontend.bloglist.client.bloglist;

import com.google.gwt.user.client.ui.AbsolutePanel;
import com.google.gwt.user.client.ui.HorizontalPanel;
import com.google.gwt.user.client.ui.Hyperlink;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.VerticalPanel;
import com.google.gwt.user.client.ui.Widget;
import com.googlecode.hmvc4gwt.client.view.AViewGwt;

/**
 * 
 * 
 * @author jens.meiss
 */
public class BloglistView extends AViewGwt {

	private AbsolutePanel absolutePanelContainer;

	private Label labelTitle;
	
	private Label labelHostedBlogs;

	private VerticalPanel verticalPanelBloglist;

	private HorizontalPanel horizontalPanelLoginRegister;

	private Hyperlink hyperlinkLogin;

	private Hyperlink hyperlinkRegister;

	public AbsolutePanel getAbsolutePanelContainer() {
		return absolutePanelContainer;
	}

	public HorizontalPanel getHorizontalPanelLoginRegister() {
		return horizontalPanelLoginRegister;
	}

	public Hyperlink getHyperlinkLogin() {
		return hyperlinkLogin;
	}

	public Hyperlink getHyperlinkRegister() {
		return hyperlinkRegister;
	}

	/**
	 * @return the labelHostedBlogs
	 */
	public Label getLabelHostedBlogs() {
		return labelHostedBlogs;
	}

	public Label getLabelTitle() {
		return labelTitle;
	}

	public VerticalPanel getVerticalPanelBloglist() {
		return verticalPanelBloglist;
	}

	public Widget getWidget() {
		return getAbsolutePanelContainer();
	}

	public void setAbsolutePanelContainer(AbsolutePanel absolutePanelContainer) {
		this.absolutePanelContainer = absolutePanelContainer;
	}

	public void setHorizontalPanelLoginRegister(
			HorizontalPanel horizontalPanelLoginRegister) {
		this.horizontalPanelLoginRegister = horizontalPanelLoginRegister;
	}

	public void setHyperlinkLogin(Hyperlink hyperlinkLogin) {
		this.hyperlinkLogin = hyperlinkLogin;
	}

	public void setHyperlinkRegister(Hyperlink hyperlinkRegister) {
		this.hyperlinkRegister = hyperlinkRegister;
	}

	/**
	 * @param labelHostedBlogs the labelHostedBlogs to set
	 */
	public void setLabelHostedBlogs(Label labelHostedBlogs) {
		this.labelHostedBlogs = labelHostedBlogs;
	}

	public void setLabelTitle(Label labelTitle) {
		this.labelTitle = labelTitle;
	}

	public void setVerticalPanelBloglist(VerticalPanel verticalPanelBloglist) {
		this.verticalPanelBloglist = verticalPanelBloglist;
	}

}
